package com.falcon.modules.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.falcon.modules.domain.bo.RoleSearchParam;
import com.falcon.modules.domain.dto.Role;
import com.falcon.modules.mapper.RoleMapper;
import com.falcon.modules.service.IRoleService;
import org.springframework.stereotype.Service;

@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements IRoleService {
    @Override
    public Page<Role> selectRolePage(Page<Role> page, RoleSearchParam param) {
        return page.setRecords(baseMapper.list(page, param));
    }
}
